using System;
using UnityEngine;

[Serializable]
public class exp1 : MonoBehaviour
{
	private int exp;

	public string prefix;

	public exp1()
	{
		prefix = string.Empty;
	}

	public void Start()
	{
		InvokeRepeating("check", 0f, 2f);
	}

	public void check()
	{
		exp = PlayerPrefs.GetInt("Exp");
		GetComponent<GUIText>().text = prefix + exp;
	}

	public void Main()
	{
	}
}
